import 'package:flutter/material.dart';

class PreSaleOrderState {
  TextEditingController controller = TextEditingController();
  TextEditingController controller1 = TextEditingController();

  //会员信息
  int userNum;
  //是否自提点
  bool isZiTi = false;
  bool isJiFen = false;
  bool showJiFen = true;
  bool iszitibutton = false;
  //地址数据
  var orderAddress = null;
  var couponData = null;
  //价格
  var total;
  //商品
  List goodsItem = [];
  //发货类型
  int deliveryType = 0;
  int number = 0;
  var type;
  //商品是否有优惠券
  var isCoupons = null;
  //地址编号
  DateTime dateTime = DateTime.now();

  DateTime time = DateTime.now();
  String time1 = '';
  double qmz;
  String couponName = '';
  int couponId;
  List selfHelpAddressList = [];
  List couponList = []; //可用优惠卷
  List nocouponList = []; //不可用优惠卷
  int selected = 0;
  String dianAdr = '';
  String adr = '';

  int a = 0;
  int b = 0;
  int c = 0;
  int d = 0;
  //经度
  String maplocationX = "";
  //维度
  String maplocationY = "";

  int sub_unit_num_id = 0;
  bool iscou = false;

  var endMoney; // 尾款金额
  var startMoney; // 尾款金额
  var paytype = 1; // 支付方式

  var jiaAddress = null;
  //礼品卡
  var GiftcardList = [];
  int isGiftNum = 0;
  double isGiftMoney = 0.0;
  double realMoney = 0.0;

  var dingdan;
  var shifu;
  int typeIndex = 1;

  PreSaleOrderState() {
    ///Initialize variables
  }
}
